﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="sitemap.ascx.cs" Inherits="controls_admin_sitemap" %>
<script type="text/javascript" language="JavaScript">
    function startclock() {
        var thetime = new Date();
        var nhours = thetime.getHours();
        var nmins = thetime.getMinutes();
        var nsecn = thetime.getSeconds();
        var day = thetime.getDay();
        var date = thetime.getDate();
        var month = thetime.getMonth() + 1;
        var year = thetime.getFullYear();
        var AorP = " ";
        if (nhours >= 12)
            AorP = "PM";
        else
            AorP = "AM";
        if (nhours >= 13)
            nhours -= 12;
        if (nhours == 0)
            nhours = 12;
        if (nsecn < 10)
            nsecn = "0" + nsecn;
        if (nmins < 10)
            nmins = "0" + nmins;
        if(day == 0)
        {
            day = "Chủ nhật";
        }
        else if(day==1)
        {
            day= "Thứ hai";
        }
        else if(day==2)
        {
            day= "Thứ ba";
        }
        else if(day==3)
        {
            day= "Thứ tư";
        }
        else if(day==4)
        {
            day= "Thứ năm";
        }
        else if(day==5)
        {
            day= "Thứ sáu";
        }
        else
        {
            day= "Thứ bảy";
        }
        document.getElementById('clocktime').innerHTML = nhours + ":" + nmins + ":" + nsecn + " " + AorP + " | " + day + " - " + date + "/" + month + "/" + year;
        setTimeout('startclock()', 1000);             
    }
    
    </script>
<div id="breadcrumbs" class="corners shadow">
    <p class="left"><img src="../images/admin/home.png" alt="" /><a href="http://www.vietstartech.com.vn" title="">Trang chủ</a></p>
    <p class="right"><img src="../images/admin/clock.png" alt="" /><span id="clocktime"><%--10:32 AM - 26/08/2011--%></span></p>

    <div id="mastertoggle">
        <a href="javascript:void(null);" title="Đóng tất cả các bảng" class="togglecloseall corners tip"></a> 
        <a href="javascript:void(null);" title="Mở tất cả các bảng" class="toggleopenall corners tip"></a>
    </div>
</div>